package com.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("userrole")
public class UserRole {
	@TableId(value = "userRoleID",type = IdType.AUTO)
    private int userRoleID;
    private int userID;
    private int roleID;

    public UserRole(int userRoleID, int userID, int roleID) {
        this.userRoleID = userRoleID;
        this.userID = userID;
        this.roleID = roleID;
    }

   

   
}